import faker

# 创建支持中文的Faker对象
fake = faker.Faker('zh_CN')

# 模拟生成不同类型的数据
name = fake.name()
age = fake.random_int(min=18, max=80)
email = fake.email()
address = fake.address()
province = fake.province()
city = fake.city()
provincial_capital = fake.city_name()

# 打印生成的数据
print(f'姓名: {name}')
print(f'年龄: {age}')
print(f'邮箱: {email}')
print(f'地址: {address}')
print(f'省份: {province}')
print(f'城市: {city}')
print(f'省会城市: {provincial_capital}')